// 
// Bachelor of Software Engineering
// Media Design School
// Auckland
// New Zealand
//
// (c) 2005 - 2014 Media Design School
//
// File Name	: SolitaireStd.cpp
// Desrciption	: SolitaireStd implmentation file.
// Author(s)	: Hayden Asplet.
// Mail			: hayden.asplet@mediadesignschool.com
//

//---------------------------------------------------------
// SolitaireStd.cpp:
//
// This file creates the SolitaireStd.pch file
//---------------------------------------------------------

// PCH
#include "SolitaireStd.h"	// Creates the SolitaireStd.pch file.

// Library Includes

// This include

// Local Includes

// Global Variables
const int g_kiSOLITAIRE_SCREEN_WIDTH = 1040;
const int g_kiSOLITAIRE_SCREEN_HEIGHT = 720;

const int g_kiCARD_WIDTH = 90;
const int g_kiCARD_HEIGHT = 126;

const int g_kiNO_OF_SUITS = 4;
const int g_kiNO_OF_VALUES = 13;

const int g_kiNO_OF_BUILD_STACKS = 7;
const int g_kiNO_OF_WIN_STACKS = 4;

const float g_kfSTANDARD_LERP_SPEED = 10.0f;
const float g_kfSTANDARD_LERP_WAITTIME = 0.1f;

const int g_kiSTACK_OFFSET = 24;
const int g_kiLAYOUT_OFFSET = 50;

const int g_kiCHARACTER_WIDTH = 7;
const int g_kiSCORE_OFFSET = 20;

// Scoring constants
const int g_kiSCORE_WASTE_BUILD = 5;		// When a card is taken from the waste and placed onto a build stack.
const int g_kiSCORE_WASTE_WIN = 10;			// When a card goes from the waste directly to a win stack.
const int g_kiSCORE_BUILD_WIN = 10;			// When a card is transfered from the build stack to a win stack.
const int g_kiSCORE_WIN_BUILD = -15;		// When a card is taken from a win stack to a build stack.
const int g_kiSCORE_TURNOVER = 5;			// When a build pile card is flipped over.
const int g_kiSCORE_RECYCLE = -100;			// When the deck runs out of cards and the user recycles them, only on draw 1.
const int g_kiSCORE_TIME_DIVISION = 700000;	// The amount to be divided by the elapsed time to caculate timing bonus points.
const int g_kiSCORE_TIME_THRESHOLD = 30;	// The amount of time needed to surpass in ordere to score bonues points.